package com.boot.security.server.model.mffl;

import com.boot.security.server.model.BaseEntity;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
@ApiModel(value = "聊天记录")
public class MfflChatContent extends BaseEntity<Long> {

	@ApiModelProperty(value = "发送人ID")
	private Integer sendId;
	@ApiModelProperty(value = "接收人ID")
	private Integer receiveId;
	@ApiModelProperty(value = "聊天内容")
	private String content;
	@ApiModelProperty(value = "消息状态 0：已读 1：未读")
	private Integer status;
	@JsonIgnore
	private Date deleteTime;
	@JsonIgnore
	private String deleteState;
	@ApiModelProperty(value = "聊天关系ID")
	private Integer mappingId;
	@ApiModelProperty(value = "消息类型 0：文字 1：图片 2：语音")
	private Integer state;

	public Integer getSendId() {
		return sendId;
	}
	public void setSendId(Integer sendId) {
		this.sendId = sendId;
	}
	public Integer getReceiveId() {
		return receiveId;
	}
	public void setReceiveId(Integer receiveId) {
		this.receiveId = receiveId;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Date getDeleteTime() {
		return deleteTime;
	}
	public void setDeleteTime(Date deleteTime) {
		this.deleteTime = deleteTime;
	}
	public String getDeleteState() {
		return deleteState;
	}
	public void setDeleteState(String deleteState) {
		this.deleteState = deleteState;
	}

	public Integer getMappingId() {
		return mappingId;
	}

	public void setMappingId(Integer mappingId) {
		this.mappingId = mappingId;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}
}
